/* document.writeln(1e5+100+"");
var temp = 100;
document.writeln(isNaN(temp));
var str = "\u0041";
if("true" == "1")
document.writeln("A" === "\u0041");
 */
var user1 = {name: "thanh"};
var user2 = user1; //{name: "thanh"};

if(user1 === user2){
	document.writeln("TRUE");
}

var number1 = 1;
if(number1 === "1"){
	document.writeln("IT'S ONE");
}

function hello(thing){
	document.writeln(this + " hello " + thing);
}

hello.call("Thanh", "Him");

var arr = ["thanh", "tran"];
for(var ob in arr){
	document.writeln(arr[ob]);
}

var student = {
	Name: "Tran Van Thanh",
	DoB: "09/14/1990",
	Phone: "01662924099",
	Address: {
		City: "Ho Chi Minh",
		Country: "Viet Nam"
	}
};

document.writeln(student.Address.City);
document.writeln(student["Name"]);
var sex = student.Sex || "(none)";
document.writeln(sex);
document.writeln(student.Sex);
student.Sex = "Male";
document.writeln(student.Sex);

var std = student;
std.University = "University of Science";
document.writeln(student.University);


var std2 = Object.create(student);
std2.Sex = "Female";
document.writeln(std2.Sex);
document.writeln(student.Sex);

document.writeln(std2.Sex);
delete std2.Sex;
document.writeln(std2.Sex); // Return value of prototype